package com.fafica.util;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.json.JSONArray;
import org.json.JSONObject;


import com.fafica.entidades.AlunoFafica;
import com.google.gson.JsonObject;

public class UtilJson {
	
	
	public static JsonObject converterUsuarioParaGson(AlunoFafica aluno){ 
		
		JsonObject gSON = new JsonObject(); 

		gSON.addProperty("cpf", aluno.getCpf());
		gSON.addProperty("nome", aluno.getNome());
		gSON.addProperty("email", aluno.getEmail());
		gSON.addProperty("situacao", aluno.getSituacao());
		gSON.addProperty("curso", aluno.getCurso());
		gSON.addProperty("matricula", aluno.getMatricula());
	
		return gSON; 
	}
	
	
}
